home *** CD-ROM | disk | FTP | other *** search
/ Champak Vol A-4 / (Vol A-4) Vol. A4.iso / Games / puppy_red.swf / scripts / DefineSprite_350 / frame_97 / DoAction.as
Text File  |  2008-03-11  |  814b  |  57 lines

  1. scorePlate.onEnterFrame = function()
  2. {
  3.    this.i = this.i + 1;
  4.    if(this.i < 2)
  5.    {
  6.       this._y -= 2;
  7.    }
  8.    else if(this.i < 3)
  9.    {
  10.       this._y += 2;
  11.    }
  12.    else if(this.i < 20)
  13.    {
  14.       this._y -= 70;
  15.    }
  16.    else
  17.    {
  18.       _global.betting = 0;
  19.       _root.mainMsg = "";
  20.       _root.gotoAndStop("ready");
  21.    }
  22. };
  23. roul.onEnterFrame = function()
  24. {
  25.    this.i = this.i + 1;
  26.    if(this.i < 2)
  27.    {
  28.       this._y -= 2;
  29.    }
  30.    else if(this.i < 3)
  31.    {
  32.       this._y += 2;
  33.    }
  34.    else
  35.    {
  36.       this._y -= 70;
  37.    }
  38. };
  39. roulette.onEnterFrame = function()
  40. {
  41.    this.i = this.i + 1;
  42.    if(this.i < 2)
  43.    {
  44.       this._y -= 2;
  45.    }
  46.    else if(this.i < 3)
  47.    {
  48.       this._y += 2;
  49.    }
  50.    else
  51.    {
  52.       this._y -= 70;
  53.    }
  54. };
  55. trace("sc=" + sc);
  56. stop();
  57.